/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
$(function () {
//    var bodyH = window.screen.height;
//    var bodyW = window.screen.width;
//    var btnH = $('.button').height();
//    var btnW = $('.button').width();
//    var top = bodyH - btnH + 30;
//    var left = (bodyW - btnW) / 2;
//    var btnH = $('.button').css({top: top, left: left});

    

    //会签意见
    var url = $('#feedbackUrl').val();
    if (url) {
        $.get(url, function (res) {
            console.log(res);
            var html = '<span>';
            for (var i = 0; i < res.length; i++) {
                html += res[i].content + '&nbsp;&nbsp;' + res[i].user_name + '&nbsp;' + res[i].edit_time + '<br/>';
            }
            html += '</span>';
            $('.form .text_value span:last').html(html);
        })
    }


})




